package cn.agiledata.bank.transaction.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

/**
 * 提现到本人银行账户Form
 * 
 * @author maxianbo
 * 
 */
public class DrawToSelfForm extends DrawForm {
    private long accountBankId;

    public DrawToSelfForm() {
        super();
        this.accountBankId = 0;
    }

    /**
     * 
     * @return 银行卡id
     */
    public long getAccountBankId() {
        return this.accountBankId;
    }

    /**
     * 
     * @param accountBankId 银行卡id
     */
    public void setAccountBankId(long accountBankId) {
        this.accountBankId = accountBankId;
    }

    public void reset(ActionMapping mapping, HttpServletRequest request) {
        super.reset(mapping, request);
        if (isResetable()) {
            this.accountBankId = 0;
        }
    }
}
